<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SC2API: include/sc2api/sc2_client.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="SC2-Logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SC2API
   </div>
   <div id="projectbrief">An API for AI for StarCraft II</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_3d0dfd3160b31ffa512c49330ac8d646.html">sc2api</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sc2_client.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="sc2__client_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;cassert&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sc2__typeenums_8h.html">sc2api/sc2_typeenums.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacesc2.html">sc2</a> {</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">class </span>ControlImp;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">class </span>Unit;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">class </span>ObservationInterface;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">class </span>QueryInterface;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">class </span>DebugInterface;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">class </span>ControlInterface;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">class </span>ControlImp;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="sc2__client_8h.html#ac7d3e3694a208204e099f04c1e5eded0">   28</a></span>&#160;<span class="keyword">enum class</span> <a class="code" href="sc2__client_8h.html#ac7d3e3694a208204e099f04c1e5eded0">ClientError</a> {</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    ErrorSC2,</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    InvalidAbilityRemap, </div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    InvalidResponse,     </div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    NoAbilitiesForTag,   </div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    ResponseNotConsumed, </div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    ResponseMismatch,    </div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    ConnectionClosed,    </div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    SC2UnknownStatus,</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    SC2AppFailure,       </div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    SC2ProtocolError,    </div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    SC2ProtocolTimeout,  </div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;};</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html">   43</a></span>&#160;<span class="keyword">class </span><a class="code" href="classsc2_1_1_client_events.html">ClientEvents</a> {</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#ab980f6942030d3a0cd42e00782742237">   46</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#ab980f6942030d3a0cd42e00782742237">OnGameFullStart</a>() {}</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#a6e2542b183f6ac980440cc93476163a3">   49</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#a6e2542b183f6ac980440cc93476163a3">OnGameStart</a>() {}</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#a2c5023d18ffc88bed76c844e643ef60d">   52</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#a2c5023d18ffc88bed76c844e643ef60d">OnGameEnd</a>() {}</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#a6f5839e220d2a5a19b30065e0b8290c4">   56</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#a6f5839e220d2a5a19b30065e0b8290c4">OnStep</a>() {}</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#ae80cd238b975c76b5db062939949b598">   60</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#ae80cd238b975c76b5db062939949b598">OnUnitDestroyed</a>(<span class="keyword">const</span> <a class="code" href="classsc2_1_1_unit.html">Unit</a>&amp; unit) {}</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#a2619e1734feeccd4f8412fd7447fe230">   64</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#a2619e1734feeccd4f8412fd7447fe230">OnUnitCreated</a>(<span class="keyword">const</span> <a class="code" href="classsc2_1_1_unit.html">Unit</a>&amp; unit) {}</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#a5d57eb9cdfa579a7c50442305dbf8635">   71</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#a5d57eb9cdfa579a7c50442305dbf8635">OnUnitIdle</a>(<span class="keyword">const</span> <a class="code" href="classsc2_1_1_unit.html">Unit</a>&amp; unit) {}</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#a0ff0017571ba53e018f85dda03861c3a">   75</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#a0ff0017571ba53e018f85dda03861c3a">OnUpgradeCompleted</a>(<a class="code" href="classsc2_1_1_s_c2_type.html">UpgradeID</a> upgrade) {}</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#a9bf081c662bf5e5e64598f8c05f9a309">   79</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#a9bf081c662bf5e5e64598f8c05f9a309">OnBuildingConstructionComplete</a>(<span class="keyword">const</span> <a class="code" href="classsc2_1_1_unit.html">Unit</a>&amp; unit) {}</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#afde152c65ab94bdb57e345a8fd1532aa">   82</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#afde152c65ab94bdb57e345a8fd1532aa">OnNydusDetected</a>() {}</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#ab9923f256e3bf6e518ccb8ec26f8ae88">   85</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#ab9923f256e3bf6e518ccb8ec26f8ae88">OnNuclearLaunchDetected</a>() {}</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#aecbbd77ffd17a729b307f87bbb899cc9">   89</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#aecbbd77ffd17a729b307f87bbb899cc9">OnUnitEnterVision</a>(<span class="keyword">const</span> <a class="code" href="classsc2_1_1_unit.html">Unit</a>&amp; unit) {}</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classsc2_1_1_client_events.html#a5205616dd617571eca2b437d8baf257d">   92</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_client_events.html#a5205616dd617571eca2b437d8baf257d">OnError</a>(<span class="keyword">const</span> std::vector&lt;ClientError&gt;&amp; client_errors, <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; protocol_errors = {}) {}</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;};</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classsc2_1_1_client.html">   96</a></span>&#160;<span class="keyword">class </span><a class="code" href="classsc2_1_1_client.html">Client</a> : <span class="keyword">public</span> <a class="code" href="classsc2_1_1_client_events.html">ClientEvents</a> {</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <a class="code" href="classsc2_1_1_client.html">Client</a>();</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="classsc2_1_1_client.html">Client</a>();</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keyword">const</span> <a class="code" href="classsc2_1_1_observation_interface.html">ObservationInterface</a>* Observation() <span class="keyword">const</span>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <a class="code" href="classsc2_1_1_query_interface.html">QueryInterface</a>* Query();</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <a class="code" href="classsc2_1_1_debug_interface.html">DebugInterface</a>* Debug();</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <a class="code" href="classsc2_1_1_control_interface.html">ControlInterface</a>* Control();</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keyword">const</span> <a class="code" href="classsc2_1_1_control_interface.html">ControlInterface</a>* Control() <span class="keyword">const</span>;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordtype">void</span> Reset();</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    ControlImp* control_imp_;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;};</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="sc2__client_8h.html#a4e833a715cb3d0fe0efbf46a2847b416">IsCarryingMinerals</a>(<span class="keyword">const</span> <a class="code" href="classsc2_1_1_unit.html">Unit</a>&amp; unit);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="sc2__client_8h.html#aacc79dc8962c0aee3d14d330e2e74330">IsCarryingVespene</a>(<span class="keyword">const</span> <a class="code" href="classsc2_1_1_unit.html">Unit</a>&amp; unit);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;}</div><div class="ttc" id="classsc2_1_1_client_events_html"><div class="ttname"><a href="classsc2_1_1_client_events.html">sc2::ClientEvents</a></div><div class="ttdoc">A set of common events a user can override in their derived bot or replay observer class...</div><div class="ttdef"><b>Definition:</b> sc2_client.h:43</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_a5205616dd617571eca2b437d8baf257d"><div class="ttname"><a href="classsc2_1_1_client_events.html#a5205616dd617571eca2b437d8baf257d">sc2::ClientEvents::OnError</a></div><div class="ttdeci">virtual void OnError(const std::vector&lt; ClientError &gt; &amp;client_errors, const std::vector&lt; std::string &gt; &amp;protocol_errors={})</div><div class="ttdoc">Called for various errors the library can encounter. See ClientError enum for possible errors...</div><div class="ttdef"><b>Definition:</b> sc2_client.h:92</div></div>
<div class="ttc" id="classsc2_1_1_unit_html"><div class="ttname"><a href="classsc2_1_1_unit.html">sc2::Unit</a></div><div class="ttdoc">A unit. Could be a structure, a worker or a military unit. </div><div class="ttdef"><b>Definition:</b> sc2_unit.h:63</div></div>
<div class="ttc" id="classsc2_1_1_query_interface_html"><div class="ttname"><a href="classsc2_1_1_query_interface.html">sc2::QueryInterface</a></div><div class="ttdef"><b>Definition:</b> sc2_interfaces.h:229</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_afde152c65ab94bdb57e345a8fd1532aa"><div class="ttname"><a href="classsc2_1_1_client_events.html#afde152c65ab94bdb57e345a8fd1532aa">sc2::ClientEvents::OnNydusDetected</a></div><div class="ttdeci">virtual void OnNydusDetected()</div><div class="ttdoc">Called when a nydus is placed. </div><div class="ttdef"><b>Definition:</b> sc2_client.h:82</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_ab9923f256e3bf6e518ccb8ec26f8ae88"><div class="ttname"><a href="classsc2_1_1_client_events.html#ab9923f256e3bf6e518ccb8ec26f8ae88">sc2::ClientEvents::OnNuclearLaunchDetected</a></div><div class="ttdeci">virtual void OnNuclearLaunchDetected()</div><div class="ttdoc">Called when a nuclear launch is detected. </div><div class="ttdef"><b>Definition:</b> sc2_client.h:85</div></div>
<div class="ttc" id="classsc2_1_1_client_html"><div class="ttname"><a href="classsc2_1_1_client.html">sc2::Client</a></div><div class="ttdoc">The base class for Agent and ReplayObserver. </div><div class="ttdef"><b>Definition:</b> sc2_client.h:96</div></div>
<div class="ttc" id="namespacesc2_html"><div class="ttname"><a href="namespacesc2.html">sc2</a></div><div class="ttdef"><b>Definition:</b> sc2_action.h:9</div></div>
<div class="ttc" id="sc2__client_8h_html_ac7d3e3694a208204e099f04c1e5eded0"><div class="ttname"><a href="sc2__client_8h.html#ac7d3e3694a208204e099f04c1e5eded0">sc2::ClientError</a></div><div class="ttdeci">ClientError</div><div class="ttdef"><b>Definition:</b> sc2_client.h:28</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_a2c5023d18ffc88bed76c844e643ef60d"><div class="ttname"><a href="classsc2_1_1_client_events.html#a2c5023d18ffc88bed76c844e643ef60d">sc2::ClientEvents::OnGameEnd</a></div><div class="ttdeci">virtual void OnGameEnd()</div><div class="ttdoc">Called when a game has ended. </div><div class="ttdef"><b>Definition:</b> sc2_client.h:52</div></div>
<div class="ttc" id="sc2__typeenums_8h_html"><div class="ttname"><a href="sc2__typeenums_8h.html">sc2_typeenums.h</a></div><div class="ttdoc">A list of enums provided for your convenience. </div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_aecbbd77ffd17a729b307f87bbb899cc9"><div class="ttname"><a href="classsc2_1_1_client_events.html#aecbbd77ffd17a729b307f87bbb899cc9">sc2::ClientEvents::OnUnitEnterVision</a></div><div class="ttdeci">virtual void OnUnitEnterVision(const Unit &amp;unit)</div><div class="ttdef"><b>Definition:</b> sc2_client.h:89</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_ae80cd238b975c76b5db062939949b598"><div class="ttname"><a href="classsc2_1_1_client_events.html#ae80cd238b975c76b5db062939949b598">sc2::ClientEvents::OnUnitDestroyed</a></div><div class="ttdeci">virtual void OnUnitDestroyed(const Unit &amp;unit)</div><div class="ttdef"><b>Definition:</b> sc2_client.h:60</div></div>
<div class="ttc" id="sc2__client_8h_html_a4e833a715cb3d0fe0efbf46a2847b416"><div class="ttname"><a href="sc2__client_8h.html#a4e833a715cb3d0fe0efbf46a2847b416">sc2::IsCarryingMinerals</a></div><div class="ttdeci">bool IsCarryingMinerals(const Unit &amp;unit)</div></div>
<div class="ttc" id="sc2__client_8h_html_aacc79dc8962c0aee3d14d330e2e74330"><div class="ttname"><a href="sc2__client_8h.html#aacc79dc8962c0aee3d14d330e2e74330">sc2::IsCarryingVespene</a></div><div class="ttdeci">bool IsCarryingVespene(const Unit &amp;unit)</div></div>
<div class="ttc" id="classsc2_1_1_observation_interface_html"><div class="ttname"><a href="classsc2_1_1_observation_interface.html">sc2::ObservationInterface</a></div><div class="ttdoc">The ObservationInterface reflects the current state of the game. Guaranteed to be valid when OnGameSt...</div><div class="ttdef"><b>Definition:</b> sc2_interfaces.h:47</div></div>
<div class="ttc" id="classsc2_1_1_s_c2_type_html"><div class="ttname"><a href="classsc2_1_1_s_c2_type.html">sc2::SC2Type</a></div><div class="ttdef"><b>Definition:</b> sc2_types.h:19</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_a6f5839e220d2a5a19b30065e0b8290c4"><div class="ttname"><a href="classsc2_1_1_client_events.html#a6f5839e220d2a5a19b30065e0b8290c4">sc2::ClientEvents::OnStep</a></div><div class="ttdeci">virtual void OnStep()</div><div class="ttdef"><b>Definition:</b> sc2_client.h:56</div></div>
<div class="ttc" id="classsc2_1_1_control_interface_html"><div class="ttname"><a href="classsc2_1_1_control_interface.html">sc2::ControlInterface</a></div><div class="ttdef"><b>Definition:</b> sc2_control_interfaces.h:16</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_ab980f6942030d3a0cd42e00782742237"><div class="ttname"><a href="classsc2_1_1_client_events.html#ab980f6942030d3a0cd42e00782742237">sc2::ClientEvents::OnGameFullStart</a></div><div class="ttdeci">virtual void OnGameFullStart()</div><div class="ttdoc">Called when a game is started after a load. Fast restarting will not call this. </div><div class="ttdef"><b>Definition:</b> sc2_client.h:46</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_a6e2542b183f6ac980440cc93476163a3"><div class="ttname"><a href="classsc2_1_1_client_events.html#a6e2542b183f6ac980440cc93476163a3">sc2::ClientEvents::OnGameStart</a></div><div class="ttdeci">virtual void OnGameStart()</div><div class="ttdoc">Called when a game is started or restarted. </div><div class="ttdef"><b>Definition:</b> sc2_client.h:49</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_a2619e1734feeccd4f8412fd7447fe230"><div class="ttname"><a href="classsc2_1_1_client_events.html#a2619e1734feeccd4f8412fd7447fe230">sc2::ClientEvents::OnUnitCreated</a></div><div class="ttdeci">virtual void OnUnitCreated(const Unit &amp;unit)</div><div class="ttdef"><b>Definition:</b> sc2_client.h:64</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_a9bf081c662bf5e5e64598f8c05f9a309"><div class="ttname"><a href="classsc2_1_1_client_events.html#a9bf081c662bf5e5e64598f8c05f9a309">sc2::ClientEvents::OnBuildingConstructionComplete</a></div><div class="ttdeci">virtual void OnBuildingConstructionComplete(const Unit &amp;unit)</div><div class="ttdef"><b>Definition:</b> sc2_client.h:79</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_a0ff0017571ba53e018f85dda03861c3a"><div class="ttname"><a href="classsc2_1_1_client_events.html#a0ff0017571ba53e018f85dda03861c3a">sc2::ClientEvents::OnUpgradeCompleted</a></div><div class="ttdeci">virtual void OnUpgradeCompleted(UpgradeID upgrade)</div><div class="ttdef"><b>Definition:</b> sc2_client.h:75</div></div>
<div class="ttc" id="classsc2_1_1_debug_interface_html"><div class="ttname"><a href="classsc2_1_1_debug_interface.html">sc2::DebugInterface</a></div><div class="ttdef"><b>Definition:</b> sc2_interfaces.h:387</div></div>
<div class="ttc" id="classsc2_1_1_client_events_html_a5d57eb9cdfa579a7c50442305dbf8635"><div class="ttname"><a href="classsc2_1_1_client_events.html#a5d57eb9cdfa579a7c50442305dbf8635">sc2::ClientEvents::OnUnitIdle</a></div><div class="ttdeci">virtual void OnUnitIdle(const Unit &amp;unit)</div><div class="ttdef"><b>Definition:</b> sc2_client.h:71</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
